using System;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    /// <summary>
    /// 用户信息表实体
    /// </summary>
    public class User
    {
        /// <summary>
        /// 用户ID（主键，自增）
        /// </summary>
        [Key]
        public int UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// 密码哈希
        /// </summary>
        public string PasswordHash { get; set; } = string.Empty;

    }
} 